﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Hired
{
    public partial class HiredQnA : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnSearch_Click(object sender, EventArgs e)
        {
            if (Page.IsValid)
            {
                Response.Redirect("qnaresults.aspx?search=" + Server.UrlEncode(txtSearch.Text) + "&category=" + Server.UrlEncode(ddlCategory.Text));
            }
        }
    }
}